Forest vs Building Classification Using ANN

Steps:

  1. Importing (or installing) Tenosrflow, Keras and other packages on your system
  2. Loading your data from disk
  3. Creating your training and testing splits
  4. Data Preprocessing
  5. Defining your tensorflow ANN model architecture
  6. Compiling your tensorflow ANN model
  7. Training your model on your training data
  8. Evaluating your model on your test data
  9. Generate Plots for accuracy and validation loss
  10. Saving The train model
  11. Making predictions using your trained tensorflow model

Step 1: Importing all the packages

Step 2: Loading your data from disk for training

image.png

Step 3: Creating your training and testing splits

image.png

Step 4: Data Preprocessing

Step 5: Define the architecture for ANN MODEL

Compile Model

image.png

Step 6: Compiling your tensorflow ANN model

Step 7: Training your model on your training data

Fit (ie, Train) model

image.png

Step 8: Evaluating your model on your test data

image.png

Convert testY and y_pred into 1's and 0 for classification report

Step 9: Generate Plots for acc and val

Step 10: Saving the train model

Step 11: Making predictions using your trained tensorflow model

Deployment